<?php

$strScreenName = 'ListStaff';
$strQueryName = 'qrySearchStaff';
$strFormName = 'frmSearchStaff';
if($strStyleSheet == TRUE){
	echo "<table class='Normal' border='0' align='left' width='450'>";
}
echo "
 <tr>
     <td>";
	echo (StartForm($strScreenName, "post", $strQueryName,"","","",$strFormName,"",""));
		 echo "
         <table  width='450' cellpadding='0' cellspacing='0' border='0' class='Normal' align='center'>
		     <tr align='left'>
		         <td align='left' colspan='2'>
		             <H2>Search Staff</H2>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='2'>
		             <input type='image' src='./images".SITE_SUFFIX."/search.gif' alt='search'>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>ID :&nbsp;</b>
		         </td>
		         <td align='left' colspan='1'>
		             <input type=\"text\" name=\"txtID\" value = '$txtID' size= \"4\" maxlength=\"4\">
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right'>
		             <b>Title :&nbsp;</b><br/>
		         </td>
		         <td align='left'>";
		             CreateDropDown("cboTitle", "SELECT * FROM tblTitle ORDER BY 2", "", $cboTitle);
					echo "
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>First Name :&nbsp;</b>
		         </td>
		         <td align='left' colspan='1'>
		             <input type=\"text\" name=\"txtFirstName\" value = '$txtFirstName' size= \"15\" maxlength=\"15\">
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Surname :&nbsp;</b>
		         </td>
		         <td align='left' colspan='1'>
		             <input type=\"text\" name=\"txtSurname\" value = '$txtSurname' size= \"18\" maxlength=\"18\">
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Address :&nbsp;</b>
				</td>
		         <td align='left' colspan='1'><input type=\"text\" name=\"txtAddress1\" value = '$txtAddress1' size= \"30\" maxlength=\"60\"></div>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>&nbsp;</b>
				</td>
		         <td align='left' colspan='1'><input type=\"text\" name=\"txtAddress2\" value = '$txtAddress2' size= \"30\" maxlength=\"60\"></div>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>City :&nbsp;</b>
				</td>
		         <td align='left' colspan='1'>
					<input type=\"text\" name=\"txtCity\" value = '$txtCity' size= \"30\" maxlength=\"60\"></div>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Post Code :&nbsp;</b>
		         </td>
		         <td align='left' colspan='1'>
		             <input type=\"text\" name=\"txtPostalCode\" value = '$txtPostalCode' size= \"20\" maxlength=\"20\">
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right'>
		             <b>Country :&nbsp;</b><br/>
		         </td>
		         <td align='left'>";
		             CreateDropDown("cboCountry", "SELECT * FROM tblCountry ORDER BY 2", "", $cboCountry);
					echo "
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Phone Number :&nbsp;</b>
				</td>
		         	<td align='left' colspan='1'><input type=\"text\" name=\"txtPhone\" value = '$txtPhone' size= \"30\" maxlength=\"35\"></div>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Email :&nbsp;</b>
				</td>
		         <td align='left' colspan='1'><input type=\"text\" name=\"txtEmail\" value = '$txtEmail' size= \"30\" maxlength=\"40\"></div>
		         </td>
		     </tr>
		

		
		     <tr>
		         <td align='right' colspan='2'>
		             <input type='image' src='./images".SITE_SUFFIX."/search.gif' alt='search'>
		         </td>
		     </tr>
		</table>
		</form>
     </td>
</tr>
";
	if($strStyleSheet == TRUE){
   		echo "</table>";
	}
?>
